/*
编写 : Hexh
时间 : 2012-7-9 10:48:32
*/
using System;
using System.Collections.Generic;
using HMIS.FrameWork.DomainBase;
using HMIS.FrameWork.Repository;
using FsCarInfo;

namespace FsCarInfo.Core.Entity.IRespositories
{
	/// <summary>
	///	 the FsGatelogList repository interface 
	/// </summary>
	public interface IFsGatelogListRepository : IRepository<FsGatelogList>
	{
		void SaveLog(FsGatelogList entity);

		IList<FsGatelogList> GetPlistAll(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		IList<FsGatelogList> GetPlist(string DepartmentId, string GateId, string CardUid,
			string ApprState, string State, int start, int limit,
			string sort, string dir, List<DataFilter> filters, out long total);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);
	}
}
